.Net Framework > v2.0.50727 > System > Security > Cryptography > Pkcs > EnvelopedCms > Decrypt Decrypt()
Decrypt(RecipientInfo)
Decrypt(RecipientInfo,X509Certificate2Collection)
Decrypt(X509Certificate2Collection)


Decrypt()

Category
Method
Description
The System.Security.Cryptography.Pkcs.EnvelopedCms.Decrypt method decrypts the contents of the decoded enveloped CMS/PKCS #7 message. The System.Security.Cryptography.Pkcs.EnvelopedCms.Decrypt method searches the current user and computer My stores for the appropriate certificate and private key.
Type
void
Character
public
Tags
01892ABD01, 02E3ABA98D, 0376596F91

Decrypt(RecipientInfo)

Category
Method
Description
The System.Security.Cryptography.Pkcs.EnvelopedCms.Decrypt(System.Security.Cryptography.Pkcs.RecipientInfo) method decrypts the contents of the decoded enveloped CMS/PKCS #7 message by using the private key associated with the certificate identified by the specified recipient information.
Type
void
Character
public
Parameters
NameTypeDescription
recipientInfoRecipientInfo
Tags
01892ABD01, 02E3ABA98D, 0376596F91

Decrypt(RecipientInfo,X509Certificate2Collection)

Category
Method
Description
The System.Security.Cryptography.Pkcs.EnvelopedCms.Decrypt(System.Security.Cryptography.Pkcs.RecipientInfo,System.Security.Cryptography.X509Certificates.X509Certificate2Collection) method decrypts the contents of the decoded enveloped CMS/PKCS #7 message by using the private key associated with the certificate identified by the specified recipient information and by using the specified certificate collection. The System.Security.Cryptography.Pkcs.EnvelopedCms.Decrypt(System.Security.Cryptography.Pkcs.RecipientInfo,System.Security.Cryptography.X509Certificates.X509Certificate2Collection) method searches the specified certificate collection and the My certificate store for the proper certificate to use for the decryption.
Type
void
Character
public
Parameters
NameTypeDescription
recipientInfoRecipientInfo
extraStoreX509Certificate2Collection
Tags
01892ABD01, 02E3ABA98D, 0376596F91

Decrypt(X509Certificate2Collection)

Category
Method
Description
The System.Security.Cryptography.Pkcs.EnvelopedCms.Decrypt(System.Security.Cryptography.X509Certificates.X509Certificate2Collection) method decrypts the contents of the decoded enveloped CMS/PKCS #7 message by using the specified certificate collection. The System.Security.Cryptography.Pkcs.EnvelopedCms.Decrypt(System.Security.Cryptography.X509Certificates.X509Certificate2Collection) method searches the specified certificate collection and the My certificate store for the proper certificate to use for the decryption.
Type
void
Character
public
Parameters
NameTypeDescription
extraStoreX509Certificate2Collection
Tags
01892ABD01, 02E3ABA98D, 0376596F91

Software for developers
.Net Components
Delphi Components
Software for Android Developers
More information resources
WinAPI Programmer's Reference
Unix Manual Pages
Delphi Examples
Databases for Amazon shops developers
Amazon Categories Database
Browse Nodes Database